<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/2/19
 * Time: 10:09
 */

namespace app\admin\model;


class NewsCate extends BaseModel
{
    /**
     * 返回列表
     * @return array|\PDOStatement|string|\think\Collection
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\ModelNotFoundException
     * @throws \think\exception\DbException
     */
    public static function getList()
    {
        $list = self::where("is_del",1)
            ->select();
        return $list;
    }
}